package com.net.xpay.core.dao;

import com.net.xpay.core.domain.PayTransRecord;
import com.net.common.dao.VersionedMapper;
import com.net.common.annotation.DataShard;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataShard("")
@Repository
public interface PayTransRecordMapper extends VersionedMapper<Long, PayTransRecord> {
    int batchSave(@Param("payTransRecords") List<PayTransRecord> payTransRecords);

    int batchUpdate(@Param("payTransRecords") List<PayTransRecord> payTransRecords);
}
